fiddle with

verbs

manipulate, as in a nervous or unconscious manner
"He twiddled his thumbs while waiting for the interview"